package com.industrial.premu.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 企业更名对象 pre_mu_company_rename
 *
 * @author ruoyi
 * @date 2024-02-05
 */
public class PreMuCompanyRename extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    private String uscc;

    /** 企业id */
    private String companyId;

    /** 企业原名 */
    @Excel(name = "企业原名")
    private String oldName;

    /** 更名 */
    @Excel(name = "更名")
    private String newName;

    /** 更名时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更名时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uptime;

    /** 附件id */
    private String filePath;

    /** 创建时间 */
    private Date createDate;

    /** 更改时间 */
    private Date updateDate;



    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标识 */
    private String delFlag;

    private String fileName;

    public String getUscc() {
        return uscc;
    }

    public void setUscc(String uscc) {
        this.uscc = uscc;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCompanyId(String companyId)
    {
        this.companyId = companyId;
    }

    public String getCompanyId()
    {
        return companyId;
    }
    public void setOldName(String oldName)
    {
        this.oldName = oldName;
    }

    public String getOldName()
    {
        return oldName;
    }
    public void setNewName(String newName)
    {
        this.newName = newName;
    }

    public String getNewName()
    {
        return newName;
    }
    public void setUptime(Date uptime)
    {
        this.uptime = uptime;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("oldName", getOldName())
                .append("newName", getNewName())
                .append("uptime", getUptime())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("remarks", getRemarks())
                .append("delFlag", getDelFlag())
                .toString();
    }
}